<template>
  <van-tabbar route active-color="#ee0a24" inactive-color="#000">
    <van-tabbar-item replace to="/index" icon="home-o">首页</van-tabbar-item>
    <van-tabbar-item replace to="/transaction/0" icon="bar-chart-o"
      >交易大厅</van-tabbar-item
    >
    <van-tabbar-item replace to="/car" icon="shopping-cart-o"
      >购物车</van-tabbar-item
    >
    <van-tabbar-item replace to="/user-index" icon="contact"
      >我的</van-tabbar-item
    >
  </van-tabbar>
</template>
<script>
export default {
  methods: {
    goShop(val) {
      console.log(val);
      this.$toast("此功能暂未开放");
    },
  },
};
</script>
<style scoped>
.h_8 {
  position: relative;
  height: 70px;
  width: 100%;
}
.Foot {
  position: fixed;
  bottom: 70px;
  left: 0;
  width: 100%;
  z-index: 80;
}
</style>
